package com.zhuhjay.model.dto;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Min;

/**
 * @author ZhuHJay
 * @date 2023/4/26 20:29
 */
@Data
public class MemberRechargeDto {

    @NotBlank(message = "身份证号不能为空")
    private String idNumber;
    @Min(value = 1, message = "充值金额不能小于1")
    private Integer amount;

}
